package yueyong.salarymanagement.module.business.salary.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;
import yueyong.salarymanagement.module.business.salary.domain.entity.UserCompanyEntity;
import yueyong.salarymanagement.module.business.salary.domain.vo.UserCompanyVO;

import java.util.List;

/**
 * Copyright: yueyong (c) 2022
 *
 * @author he.shaorong
 * @version 1.0
 * @date 2022/2/3
 */
@Mapper
@Component
public interface UserCompanyDao extends BaseMapper<UserCompanyEntity> {
    List<UserCompanyVO> getUserCompanyByUid(long uid);

    List<UserCompanyEntity> getUserCompanyEntityByByUid(long uid);


}
